package cn.fzkj.gulimall.product.service;

import cn.fzkj.gulimall.product.entity.SpuInfoDescEntity;
import cn.fzkj.gulimall.product.vo.SpuVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.fzkj.common.utils.PageUtils;
import cn.fzkj.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author chenxin
 * @email chenxin@gmail.com
 * @date 2022-02-19 22:47:30
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean saveSpuInfo(SpuVo spuVo);

    boolean saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    // 商品上架
    boolean up(Long spuId);
}

